import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import axios from "axios";
import {post,get} from './utils/api';

Vue.prototype.$ajax = axios //引入axios——> this.$ajax
//封装post get方法
Vue.prototype.$post = post;
Vue.prototype.$get = get;

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
